package top.lilele.adminSystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.lilele.adminSystem.entity.AdminLogEntity;
import top.lilele.adminSystem.vo.LogVo;

import java.util.List;

/**
 * @author lilele
 */
@Mapper
public interface AdminLogMapper extends BaseMapper<AdminLogEntity> {
    /**
     * 根据条件查询日志列表（公用，如果需要分页，用内存分页utils工具类）
     *
     * @param queryWrapper
     * @return
     */
    List<LogVo> queryLogList(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
